package com.x.schedule.service;

import com.x.schedule.pojo.SysUser;

/**
 * ClassName: SysUserService
 * Package: IntelliJ IDEA
 * Description:
 该接口定义sys_user表为核心的业务逻辑

 * Written by HanXu
 * Create 2024.08.25 17:12
 */


public interface SysUserService {
    /**
     * 注册用户
     * @param sysUser 前端传回的注册用户信息的对象
     * @return 成功返回1，失败返回0
     */
    int regist(SysUser sysUser);

    SysUser findUserName(String username);
}
